home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / nff / nff.doc < prev    next >
Mailbox/MIME Entity  |  1992-12-02  |  8.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Mailbox/MIME Entity (archive/mbox).

You can browse this item here: nff.doc

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert WANG Integrated Word Processor (document/wangIWP) ext Unsupported
1% dexvert Dynamic Publisher Document (document/dynamicPublisherDocument) ext Unsupported
1% dexvert Excellence! Document (document/excellenceDocument) ext Unsupported
1% dexvert Norton Textra Writer (document/textraWriter) ext Unsupported
1% dexvert IBM DisplayWrite Document (document/ibmDisplayWriteDocument) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From uoregon!uw-beaver!cornell!batcomputer!saponara Mon Oct 3 13:30:35 PDT 1988", ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 75 6f 72 | 65 67 6f 6e 21 75 77 2d |From uor|egon!uw-|
|00000010| 62 65 61 76 65 72 21 63 | 6f 72 6e 65 6c 6c 21 62 |beaver!c|ornell!b|
|00000020| 61 74 63 6f 6d 70 75 74 | 65 72 21 73 61 70 6f 6e |atcomput|er!sapon|
|00000030| 61 72 61 20 4d 6f 6e 20 | 4f 63 74 20 20 33 20 31 |ara Mon |Oct 3 1|
|00000040| 33 3a 33 30 3a 33 35 20 | 50 44 54 20 31 39 38 38 |3:30:35 |PDT 1988|
|00000050| 0a 41 72 74 69 63 6c 65 | 20 33 30 39 36 20 6f 66 |.Article| 3096 of|
|00000060| 20 63 6f 6d 70 2e 67 72 | 61 70 68 69 63 73 3a 0a | comp.gr|aphics:.|
|00000070| 50 61 74 68 3a 20 75 6f | 72 65 67 6f 6e 21 75 77 |Path: uo|regon!uw|
|00000080| 2d 62 65 61 76 65 72 21 | 63 6f 72 6e 65 6c 6c 21 |-beaver!|cornell!|
|00000090| 62 61 74 63 6f 6d 70 75 | 74 65 72 21 73 61 70 6f |batcompu|ter!sapo|
|000000a0| 6e 61 72 61 0a 3e 46 72 | 6f 6d 3a 20 73 61 70 6f |nara.>Fr|om: sapo|
|000000b0| 6e 61 72 61 40 62 61 74 | 63 6f 6d 70 75 74 65 72 |nara@bat|computer|
|000000c0| 2e 74 6e 2e 63 6f 72 6e | 65 6c 6c 2e 65 64 75 20 |.tn.corn|ell.edu |
|000000d0| 28 4a 6f 68 6e 20 53 61 | 70 6f 6e 61 72 61 29 0a |(John Sa|ponara).|
|000000e0| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|000000f0| 2e 67 72 61 70 68 69 63 | 73 0a 53 75 62 6a 65 63 |.graphic|s.Subjec|
|00000100| 74 3a 20 41 20 64 65 73 | 63 72 69 70 74 69 6f 6e |t: A des|cription|
|00000110| 20 6f 66 20 4e 46 46 20 | 28 4e 65 75 74 72 61 6c | of NFF |(Neutral|
|00000120| 20 46 69 6c 65 20 46 6f | 72 6d 61 74 29 0a 53 75 | File Fo|rmat).Su|
|00000130| 6d 6d 61 72 79 3a 20 68 | 65 72 65 20 79 6f 75 20 |mmary: h|ere you |
|00000140| 67 6f 2e 2e 2e 0a 4b 65 | 79 77 6f 72 64 73 3a 20 |go....Ke|ywords: |
|00000150| 4e 46 46 2c 20 62 65 6e | 63 68 6d 61 72 6b 0a 4d |NFF, ben|chmark.M|
|00000160| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 36 34 34 33 |essage-I|D: <6443|
|00000170| 40 62 61 74 63 6f 6d 70 | 75 74 65 72 2e 74 6e 2e |@batcomp|uter.tn.|
|00000180| 63 6f 72 6e 65 6c 6c 2e | 65 64 75 3e 0a 44 61 74 |cornell.|edu>.Dat|
|00000190| 65 3a 20 33 20 4f 63 74 | 20 38 38 20 31 39 3a 35 |e: 3 Oct| 88 19:5|
|000001a0| 37 3a 35 38 20 47 4d 54 | 0a 52 65 70 6c 79 2d 54 |7:58 GMT|.Reply-T|
|000001b0| 6f 3a 20 73 61 70 6f 6e | 61 72 61 40 74 63 67 6f |o: sapon|ara@tcgo|
|000001c0| 75 6c 64 2e 74 6e 2e 63 | 6f 72 6e 65 6c 6c 2e 65 |uld.tn.c|ornell.e|
|000001d0| 64 75 20 28 45 72 69 63 | 20 48 61 69 6e 65 73 2c |du (Eric| Haines,|
|000001e0| 20 69 6e 20 74 72 75 74 | 68 29 0a 4f 72 67 61 6e | in trut|h).Organ|
|000001f0| 69 7a 61 74 69 6f 6e 3a | 20 33 44 2f 45 79 65 20 |ization:| 3D/Eye |
|00000200| 49 6e 63 0a 4c 69 6e 65 | 73 3a 20 32 33 35 0a 52 |Inc.Line|s: 235.R|
|00000210| 65 66 65 72 65 6e 63 65 | 73 3a 0a 53 74 61 74 75 |eference|s:.Statu|
|00000220| 73 3a 20 4f 52 0a 0a 48 | 65 72 65 27 73 20 6d 79 |s: OR..H|ere's my|
|00000230| 20 66 69 72 73 74 20 64 | 72 61 66 74 2c 20 68 6f | first d|raft, ho|
|00000240| 74 20 6f 66 66 20 74 68 | 65 20 64 69 73 6b 2e 0a |t off th|e disk..|
|00000250| 0a 20 20 20 20 45 72 69 | 63 20 48 61 69 6e 65 73 |. Eri|c Haines|
|00000260| 20 28 6e 6f 74 20 4a 6f | 68 6e 20 53 61 70 6f 6e | (not Jo|hn Sapon|
|00000270| 61 72 61 29 0a 0a 4e 6f | 74 65 3a 20 64 6f 6e 27 |ara)..No|te: don'|
|00000280| 74 20 72 65 70 6c 79 20 | 74 6f 20 6d 65 20 68 65 |t reply |to me he|
|00000290| 72 65 2c 20 61 73 20 74 | 68 69 73 20 61 63 63 6f |re, as t|his acco|
|000002a0| 75 6e 74 20 64 69 73 61 | 70 70 65 61 72 73 20 73 |unt disa|ppears s|
|000002b0| 6f 6f 6e 2e 20 20 49 6e | 73 74 65 61 64 2c 0a 09 |oon. In|stead,..|
|000002c0| 77 72 69 74 65 20 6d 65 | 20 61 74 20 68 70 66 63 |write me| at hpfc|
|000002d0| 6c 61 21 68 70 66 63 72 | 73 21 65 79 65 21 65 72 |la!hpfcr|s!eye!er|
|000002e0| 69 63 68 40 68 70 6c 61 | 62 73 2e 68 70 2e 63 6f |ich@hpla|bs.hp.co|
|000002f0| 6d 0a 0a 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |m..-----|--------|
|00000300| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000310| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000320| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000330| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000340| 0a 0a 4e 65 75 74 72 61 | 6c 20 46 69 6c 65 20 46 |..Neutra|l File F|
|00000350| 6f 72 6d 61 74 20 28 4e | 46 46 29 2c 0a 20 20 20 |ormat (N|FF),. |
|00000360| 20 62 79 20 45 72 69 63 | 20 48 61 69 6e 65 73 2c | by Eric| Haines,|
|00000370| 20 33 44 2f 45 79 65 20 | 49 6e 63 2c 20 34 31 30 | 3D/Eye |Inc, 410|
|00000380| 20 45 20 55 70 6c 61 6e | 64 20 52 64 2c 20 49 74 | E Uplan|d Rd, It|
|00000390| 68 61 63 61 2c 20 4e 59 | 20 31 34 38 35 30 0a 20 |haca, NY| 14850. |
|000003a0| 20 20 20 28 36 30 37 29 | 2d 32 35 37 2d 31 33 38 | (607)|-257-138|
|000003b0| 31 0a 20 20 20 20 65 6d | 61 69 6c 3a 20 68 70 66 |1. em|ail: hpf|
|000003c0| 63 6c 61 21 68 70 66 63 | 72 73 21 65 79 65 21 65 |cla!hpfc|rs!eye!e|
|000003d0| 72 69 63 68 40 68 70 6c | 61 62 73 2e 68 70 2e 63 |rich@hpl|abs.hp.c|
|000003e0| 6f 6d 0a 0a 0a 5b 54 68 | 69 73 20 69 73 20 61 20 |om...[Th|is is a |
|000003f0| 64 65 73 63 72 69 70 74 | 69 6f 6e 20 6f 66 20 74 |descript|ion of t|
|00000400| 68 65 20 66 6f 72 6d 61 | 74 20 75 73 65 64 20 69 |he forma|t used i|
|00000410| 6e 20 74 68 65 20 53 50 | 44 20 70 61 63 6b 61 67 |n the SP|D packag|
|00000420| 65 2e 20 20 41 6e 79 20 | 63 6f 6d 6d 65 6e 74 73 |e. Any |comments|
|00000430| 0a 6f 6e 20 68 6f 77 20 | 74 6f 20 65 78 70 61 6e |.on how |to expan|
|00000440| 64 20 74 68 69 73 20 66 | 6f 72 6d 61 74 20 61 72 |d this f|ormat ar|
|00000450| 65 20 61 70 70 72 65 63 | 69 61 74 65 64 2e 20 20 |e apprec|iated. |
|00000460| 53 6f 6d 65 20 65 78 74 | 65 6e 73 69 6f 6e 73 20 |Some ext|ensions |
|00000470| 73 65 65 6d 20 6f 62 76 | 69 6f 75 73 0a 74 6f 20 |seem obv|ious.to |
|00000480| 6d 65 20 28 65 2e 67 2e | 20 61 64 64 69 6e 67 20 |me (e.g.| adding |
|00000490| 64 69 72 65 63 74 69 6f | 6e 61 6c 20 6c 69 67 68 |directio|nal ligh|
|000004a0| 74 73 2c 20 63 69 72 63 | 6c 65 73 2c 20 61 6e 64 |ts, circ|les, and|
|000004b0| 20 74 6f 72 69 29 2c 20 | 62 75 74 20 49 20 77 61 | tori), |but I wa|
|000004c0| 6e 74 20 74 6f 20 74 61 | 6b 65 0a 6d 79 20 74 69 |nt to ta|ke.my ti|
|000004d0| 6d 65 2c 20 67 61 74 68 | 65 72 20 6f 70 69 6e 69 |me, gath|er opini|
|000004e0| 6f 6e 73 2c 20 61 6e 64 | 20 67 65 74 20 69 74 20 |ons, and| get it |
|000004f0| 6d 6f 72 65 2d 6f 72 2d | 6c 65 73 73 20 72 69 67 |more-or-|less rig|
|00000500| 68 74 20 74 68 65 20 66 | 69 72 73 74 20 67 6f 20 |ht the f|irst go |
|00000510| 72 6f 75 6e 64 2e 0a 41 | 6c 73 6f 2c 20 49 27 6d |round..A|lso, I'm|
|00000520| 20 72 69 64 69 63 75 6c | 6f 75 73 6c 79 20 62 75 | ridicul|ously bu|
|00000530| 73 79 20 72 69 67 68 74 | 20 6e 6f 77 2e 20 2d 45 |sy right| now. -E|
|00000540| 41 48 5d 0a 0a 44 72 61 | 66 74 20 64 6f 63 75 6d |AH]..Dra|ft docum|
|00000550| 65 6e 74 20 23 31 2c 20 | 31 30 2f 33 2f 38 38 0a |ent #1, |10/3/88.|
|00000560| 0a 54 68 65 20 4e 46 46 | 20 28 4e 65 75 74 72 61 |.The NFF| (Neutra|
|00000570| 6c 20 46 69 6c 65 20 46 | 6f 72 6d 61 74 29 20 69 |l File F|ormat) i|
|00000580| 73 20 64 65 73 69 67 6e | 65 64 20 61 73 20 61 20 |s design|ed as a |
|00000590| 6d 69 6e 69 6d 61 6c 20 | 73 63 65 6e 65 20 64 65 |minimal |scene de|
|000005a0| 73 63 72 69 70 74 69 6f | 6e 0a 6c 61 6e 67 75 61 |scriptio|n.langua|
|000005b0| 67 65 2e 20 20 54 68 65 | 20 6c 61 6e 67 75 61 67 |ge. The| languag|
|000005c0| 65 20 77 61 73 20 64 65 | 73 69 67 6e 65 64 20 69 |e was de|signed i|
|000005d0| 6e 20 6f 72 64 65 72 20 | 74 6f 20 74 65 73 74 20 |n order |to test |
|000005e0| 76 61 72 69 6f 75 73 20 | 72 65 6e 64 65 72 69 6e |various |renderin|
|000005f0| 67 0a 61 6c 67 6f 72 69 | 74 68 6d 73 20 61 6e 64 |g.algori|thms and|
|00000600| 20 65 66 66 69 63 69 65 | 6e 63 79 20 73 63 68 65 | efficie|ncy sche|
|00000610| 6d 65 73 2e 20 20 49 74 | 20 69 73 20 6d 65 61 6e |mes. It| is mean|
|00000620| 74 20 74 6f 20 64 65 73 | 63 72 69 62 65 20 74 68 |t to des|cribe th|
|00000630| 65 20 67 65 6f 6d 65 74 | 72 79 20 61 6e 64 0a 62 |e geomet|ry and.b|
|00000640| 61 73 69 63 20 73 75 72 | 66 61 63 65 20 63 68 61 |asic sur|face cha|
|00000650| 72 61 63 74 65 72 69 73 | 74 69 63 73 20 6f 66 20 |racteris|tics of |
|00000660| 6f 62 6a 65 63 74 73 2c | 20 74 68 65 20 70 6c 61 |objects,| the pla|
|00000670| 63 65 6d 65 6e 74 20 6f | 66 20 6c 69 67 68 74 73 |cement o|f lights|
|00000680| 2c 20 61 6e 64 20 74 68 | 65 0a 76 69 65 77 69 6e |, and th|e.viewin|
|00000690| 67 20 66 72 75 73 74 75 | 6d 20 66 6f 72 20 74 68 |g frustu|m for th|
|000006a0| 65 20 65 79 65 2e 20 20 | 53 6f 6d 65 20 61 64 64 |e eye. |Some add|
|000006b0| 69 74 69 6f 6e 61 6c 20 | 69 6e 66 6f 72 6d 61 74 |itional |informat|
|000006c0| 69 6f 6e 20 69 73 20 70 | 72 6f 76 69 64 65 64 20 |ion is p|rovided |
|000006d0| 66 6f 72 0a 65 73 74 68 | 65 74 69 63 20 72 65 61 |for.esth|etic rea|
|000006e0| 73 6f 6e 73 20 28 73 75 | 63 68 20 61 73 20 74 68 |sons (su|ch as th|
|000006f0| 65 20 63 6f 6c 6f 72 20 | 6f 66 20 74 68 65 20 6f |e color |of the o|
|00000700| 62 6a 65 63 74 73 2c 20 | 77 68 69 63 68 20 69 73 |bjects, |which is|
|00000710| 20 6e 6f 74 20 73 74 72 | 69 63 74 6c 79 0a 6e 65 | not str|ictly.ne|
|00000720| 63 65 73 73 61 72 79 20 | 66 6f 72 20 74 65 73 74 |cessary |for test|
|00000730| 69 6e 67 20 72 65 6e 64 | 65 72 69 6e 67 20 61 6c |ing rend|ering al|
|00000740| 67 6f 72 69 74 68 6d 73 | 29 2e 0a 0a 46 75 74 75 |gorithms|)...Futu|
|00000750| 72 65 20 65 6e 68 61 6e | 63 65 6d 65 6e 74 73 20 |re enhan|cements |
|00000760| 69 6e 63 6c 75 64 65 3a | 20 20 63 69 72 63 6c 65 |include:| circle|
|00000770| 20 61 6e 64 20 74 6f 72 | 75 73 20 6f 62 6a 65 63 | and tor|us objec|
|00000780| 74 73 2c 20 73 70 6c 69 | 6e 65 20 73 75 72 66 61 |ts, spli|ne surfa|
|00000790| 63 65 73 0a 77 69 74 68 | 20 74 72 69 6d 6d 69 6e |ces.with| trimmin|
|000007a0| 67 20 63 75 72 76 65 73 | 2c 20 64 69 72 65 63 74 |g curves|, direct|
|000007b0| 69 6f 6e 61 6c 20 6c 69 | 67 68 74 73 2c 20 63 68 |ional li|ghts, ch|
|000007c0| 61 72 61 63 74 65 72 69 | 73 74 69 63 73 20 66 6f |aracteri|stics fo|
|000007d0| 72 20 70 6f 73 69 74 69 | 6f 6e 61 6c 0a 6c 69 67 |r positi|onal.lig|
|000007e0| 68 74 73 2c 20 43 53 47 | 20 64 65 73 63 72 69 70 |hts, CSG| descrip|
|000007f0| 74 69 6f 6e 73 2c 20 61 | 6e 64 20 70 72 6f 62 61 |tions, a|nd proba|
|00000800| 62 6c 79 20 6d 6f 72 65 | 20 62 79 20 74 68 65 20 |bly more| by the |
|00000810| 74 69 6d 65 20 79 6f 75 | 20 72 65 61 64 20 74 68 |time you| read th|
|00000820| 69 73 2e 0a 43 6f 6d 6d | 65 6e 74 73 2c 20 73 75 |is..Comm|ents, su|
|00000830| 67 67 65 73 74 69 6f 6e | 73 2c 20 61 6e 64 20 63 |ggestion|s, and c|
|00000840| 72 69 74 69 63 69 73 6d | 73 20 61 72 65 20 61 6c |riticism|s are al|
|00000850| 6c 20 77 65 6c 63 6f 6d | 65 2e 0a 0a 41 74 20 70 |l welcom|e...At p|
|00000860| 72 65 73 65 6e 74 20 74 | 68 65 20 4e 46 46 20 66 |resent t|he NFF f|
|00000870| 69 6c 65 20 66 6f 72 6d | 61 74 20 69 73 20 75 73 |ile form|at is us|
|00000880| 65 64 20 69 6e 20 63 6f | 6e 6a 75 6e 63 74 69 6f |ed in co|njunctio|
|00000890| 6e 20 77 69 74 68 20 74 | 68 65 20 53 50 44 20 28 |n with t|he SPD (|
|000008a0| 53 74 61 6e 64 61 72 64 | 0a 50 72 6f 63 65 64 75 |Standard|.Procedu|
|000008b0| 72 61 6c 20 44 61 74 61 | 62 61 73 65 29 20 73 6f |ral Data|base) so|
|000008c0| 66 74 77 61 72 65 2c 20 | 61 20 70 61 63 6b 61 67 |ftware, |a packag|
|000008d0| 65 20 64 65 73 69 67 6e | 65 64 20 74 6f 20 63 72 |e design|ed to cr|
|000008e0| 65 61 74 65 20 61 20 76 | 61 72 69 65 74 79 20 6f |eate a v|ariety o|
|000008f0| 66 0a 64 61 74 61 62 61 | 73 65 73 20 66 6f 72 20 |f.databa|ses for |
|00000900| 74 65 73 74 69 6e 67 20 | 72 65 6e 64 65 72 69 6e |testing |renderin|
|00000910| 67 20 73 63 68 65 6d 65 | 73 2e 20 20 54 68 65 20 |g scheme|s. The |
|00000920| 53 50 44 20 70 61 63 6b | 61 67 65 20 69 73 20 61 |SPD pack|age is a|
|00000930| 76 61 69 6c 61 62 6c 65 | 0a 66 72 6f 6d 20 4e 65 |vailable|.from Ne|
|00000940| 74 6c 69 62 20 61 6e 64 | 20 76 69 61 20 66 74 70 |tlib and| via ftp|
|00000950| 20 66 72 6f 6d 20 64 72 | 69 7a 7a 6c 65 2e 63 73 | from dr|izzle.cs|
|00000960| 2e 75 6f 72 65 67 6f 6e | 2e 65 64 75 2e 20 20 46 |.uoregon|.edu. F|
|00000970| 6f 72 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |or more |informat|
|00000980| 69 6f 6e 0a 61 62 6f 75 | 74 20 53 50 44 20 73 65 |ion.abou|t SPD se|
|00000990| 65 20 22 41 20 50 72 6f | 70 6f 73 61 6c 20 66 6f |e "A Pro|posal fo|
|000009a0| 72 20 53 74 61 6e 64 61 | 72 64 20 47 72 61 70 68 |r Standa|rd Graph|
|000009b0| 69 63 73 20 45 6e 76 69 | 72 6f 6e 6d 65 6e 74 73 |ics Envi|ronments|
|000009c0| 2c 22 20 49 45 45 45 20 | 43 6f 6d 70 75 74 65 72 |," IEEE |Computer|
|000009d0| 0a 47 72 61 70 68 69 63 | 73 20 61 6e 64 20 41 70 |.Graphic|s and Ap|
|000009e0| 70 6c 69 63 61 74 69 6f | 6e 73 2c 20 76 6f 6c 2e |plicatio|ns, vol.|
|000009f0| 20 37 2c 20 6e 6f 2e 20 | 31 31 2c 20 4e 6f 76 65 | 7, no. |11, Nove|
|00000a00| 6d 62 65 72 20 31 39 38 | 37 2c 20 70 70 2e 20 33 |mber 198|7, pp. 3|
|00000a10| 2d 35 2e 0a 0a 42 79 20 | 70 72 6f 76 69 64 69 6e |-5...By |providin|
|00000a20| 67 20 61 20 6d 69 6e 69 | 6d 61 6c 20 69 6e 74 65 |g a mini|mal inte|
|00000a30| 72 66 61 63 65 2c 20 4e | 46 46 20 69 73 20 6d 65 |rface, N|FF is me|
|00000a40| 61 6e 74 20 74 6f 20 61 | 63 74 20 61 73 20 61 20 |ant to a|ct as a |
|00000a50| 73 69 6d 70 6c 65 20 66 | 6f 72 6d 61 74 20 74 6f |simple f|ormat to|
|00000a60| 0a 61 6c 6c 6f 77 20 74 | 68 65 20 70 72 6f 67 72 |.allow t|he progr|
|00000a70| 61 6d 6d 65 72 20 74 6f | 20 71 75 69 63 6b 6c 79 |ammer to| quickly|
|00000a80| 20 77 72 69 74 65 20 66 | 69 6c 74 65 72 73 20 74 | write f|ilters t|
|00000a90| 6f 20 6d 6f 76 65 20 66 | 72 6f 6d 20 4e 46 46 20 |o move f|rom NFF |
|00000aa0| 74 6f 20 74 68 65 0a 6c | 6f 63 61 6c 20 66 69 6c |to the.l|ocal fil|
|00000ab0| 65 20 66 6f 72 6d 61 74 | 2e 20 20 50 72 65 73 65 |e format|. Prese|
|00000ac0| 6e 74 6c 79 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |ntly the| followi|
|00000ad0| 6e 67 20 65 6e 74 69 74 | 69 65 73 20 61 72 65 20 |ng entit|ies are |
|00000ae0| 73 75 70 70 6f 72 74 65 | 64 3a 0a 20 20 20 20 20 |supporte|d:. |
|00000af0| 41 20 73 69 6d 70 6c 65 | 20 70 65 72 73 70 65 63 |A simple| perspec|
|00000b00| 74 69 76 65 20 66 72 75 | 73 74 75 6d 0a 20 20 20 |tive fru|stum. |
|00000b10| 20 20 41 20 70 6f 73 69 | 74 69 6f 6e 61 6c 20 28 | A posi|tional (|
|00000b20| 76 73 2e 20 64 69 72 65 | 63 74 69 6f 6e 61 6c 29 |vs. dire|ctional)|
|00000b30| 20 6c 69 67 68 74 20 73 | 6f 75 72 63 65 20 64 65 | light s|ource de|
|00000b40| 73 63 72 69 70 74 69 6f | 6e 0a 20 20 20 20 20 41 |scriptio|n. A|
|00000b50| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 63 6f 6c 6f | backgro|und colo|
|00000b60| 72 20 64 65 73 63 72 69 | 70 74 69 6f 6e 0a 20 20 |r descri|ption. |
|00000b70| 20 20 20 41 20 73 75 72 | 66 61 63 65 20 70 72 6f | A sur|face pro|
|00000b80| 70 65 72 74 69 65 73 20 | 64 65 73 63 72 69 70 74 |perties |descript|
|00000b90| 69 6f 6e 0a 20 20 20 20 | 20 50 6f 6c 79 67 6f 6e |ion. | Polygon|
|00000ba0| 2c 20 70 6f 6c 79 67 6f | 6e 61 6c 20 70 61 74 63 |, polygo|nal patc|
|00000bb0| 68 2c 20 63 79 6c 69 6e | 64 65 72 2f 63 6f 6e 65 |h, cylin|der/cone|
|00000bc0| 2c 20 61 6e 64 20 73 70 | 68 65 72 65 20 64 65 73 |, and sp|here des|
|00000bd0| 63 72 69 70 74 69 6f 6e | 73 0a 0a 46 69 6c 65 73 |cription|s..Files|
|00000be0| 20 61 72 65 20 6f 75 74 | 70 75 74 20 61 73 20 6c | are out|put as l|
|00000bf0| 69 6e 65 73 20 6f 66 20 | 74 65 78 74 2e 20 20 46 |ines of |text. F|
|00000c00| 6f 72 20 65 61 63 68 20 | 65 6e 74 69 74 79 2c 20 |or each |entity, |
|00000c10| 74 68 65 20 66 69 72 73 | 74 20 6c 69 6e 65 0a 64 |the firs|t line.d|
|00000c20| 65 66 69 6e 65 73 20 69 | 74 73 20 74 79 70 65 2e |efines i|ts type.|
|00000c30| 20 20 54 68 65 20 72 65 | 73 74 20 6f 66 20 74 68 | The re|st of th|
|00000c40| 65 20 66 69 72 73 74 20 | 6c 69 6e 65 20 61 6e 64 |e first |line and|
|00000c50| 20 70 6f 73 73 69 62 6c | 79 20 6f 74 68 65 72 20 | possibl|y other |
|00000c60| 6c 69 6e 65 73 0a 63 6f | 6e 74 61 69 6e 20 66 75 |lines.co|ntain fu|
|00000c70| 72 74 68 65 72 20 69 6e | 66 6f 72 6d 61 74 69 6f |rther in|formatio|
|00000c80| 6e 20 61 62 6f 75 74 20 | 74 68 65 20 65 6e 74 69 |n about |the enti|
|00000c90| 74 79 2e 20 20 45 6e 74 | 69 74 69 65 73 20 69 6e |ty. Ent|ities in|
|00000ca0| 63 6c 75 64 65 3a 0a 0a | 22 76 22 20 20 2d 20 76 |clude:..|"v" - v|
|00000cb0| 69 65 77 69 6e 67 20 76 | 65 63 74 6f 72 73 20 61 |iewing v|ectors a|
|00000cc0| 6e 64 20 61 6e 67 6c 65 | 73 0a 22 6c 22 20 20 2d |nd angle|s."l" -|
|00000cd0| 20 70 6f 73 69 74 69 6f | 6e 61 6c 20 6c 69 67 68 | positio|nal ligh|
|00000ce0| 74 20 6c 6f 63 61 74 69 | 6f 6e 0a 22 62 22 20 20 |t locati|on."b" |
|00000cf0| 2d 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 63 6f 6c |- backgr|ound col|
|00000d00| 6f 72 0a 22 66 22 20 20 | 2d 20 6f 62 6a 65 63 74 |or."f" |- object|
|00000d10| 20 6d 61 74 65 72 69 61 | 6c 20 70 72 6f 70 65 72 | materia|l proper|
|00000d20| 74 69 65 73 0a 22 63 22 | 20 20 2d 20 63 6f 6e 65 |ties."c"| - cone|
|00000d30| 20 6f 72 20 63 79 6c 69 | 6e 64 65 72 20 70 72 69 | or cyli|nder pri|
|00000d40| 6d 69 74 69 76 65 0a 22 | 73 22 20 20 2d 20 73 70 |mitive."|s" - sp|
|00000d50| 68 65 72 65 20 70 72 69 | 6d 69 74 69 76 65 0a 22 |here pri|mitive."|
|00000d60| 70 22 20 20 2d 20 70 6f | 6c 79 67 6f 6e 20 70 72 |p" - po|lygon pr|
|00000d70| 69 6d 69 74 69 76 65 0a | 22 70 70 22 20 2d 20 70 |imitive.|"pp" - p|
|00000d80| 6f 6c 79 67 6f 6e 61 6c | 20 70 61 74 63 68 20 70 |olygonal| patch p|
|00000d90| 72 69 6d 69 74 69 76 65 | 0a 0a 0a 54 68 65 73 65 |rimitive|...These|
|00000da0| 20 61 72 65 20 65 78 70 | 6c 61 69 6e 65 64 20 69 | are exp|lained i|
|00000db0| 6e 20 64 65 70 74 68 20 | 62 65 6c 6f 77 3a 0a 0a |n depth |below:..|
|00000dc0| 56 69 65 77 70 6f 69 6e | 74 20 6c 6f 63 61 74 69 |Viewpoin|t locati|
|00000dd0| 6f 6e 2e 20 20 44 65 73 | 63 72 69 70 74 69 6f 6e |on. Des|cription|
|00000de0| 3a 0a 20 20 20 20 22 76 | 22 0a 20 20 20 20 22 66 |:. "v|". "f|
|00000df0| 72 6f 6d 22 20 46 78 20 | 46 79 20 46 7a 0a 20 20 |rom" Fx |Fy Fz. |
|00000e00| 20 20 22 61 74 22 20 41 | 78 20 41 79 20 41 7a 0a | "at" A|x Ay Az.|
|00000e10| 20 20 20 20 22 75 70 22 | 20 55 78 20 55 79 20 55 | "up"| Ux Uy U|
|00000e20| 7a 0a 20 20 20 20 22 61 | 6e 67 6c 65 22 20 61 6e |z. "a|ngle" an|
|00000e30| 67 6c 65 0a 20 20 20 20 | 22 68 69 74 68 65 72 22 |gle. |"hither"|
|00000e40| 20 68 69 74 68 65 72 0a | 20 20 20 20 22 72 65 73 | hither.| "res|
|00000e50| 6f 6c 75 74 69 6f 6e 22 | 20 78 72 65 73 20 79 72 |olution"| xres yr|
|00000e60| 65 73 0a 0a 46 6f 72 6d | 61 74 3a 0a 0a 20 20 20 |es..Form|at:.. |
|00000e70| 20 76 0a 20 20 20 20 66 | 72 6f 6d 20 25 67 20 25 | v. f|rom %g %|
|00000e80| 67 20 25 67 0a 20 20 20 | 20 61 74 20 25 67 20 25 |g %g. | at %g %|
|00000e90| 67 20 25 67 0a 20 20 20 | 20 75 70 20 25 67 20 25 |g %g. | up %g %|
|00000ea0| 67 20 25 67 0a 20 20 20 | 20 61 6e 67 6c 65 20 25 |g %g. | angle %|
|00000eb0| 67 0a 20 20 20 20 68 69 | 74 68 65 72 20 25 67 0a |g. hi|ther %g.|
|00000ec0| 20 20 20 20 72 65 73 6f | 6c 75 74 69 6f 6e 20 25 | reso|lution %|
|00000ed0| 64 20 25 64 0a 0a 54 68 | 65 20 70 61 72 61 6d 65 |d %d..Th|e parame|
|00000ee0| 74 65 72 73 20 61 72 65 | 3a 0a 0a 20 20 20 20 46 |ters are|:.. F|
|00000ef0| 72 6f 6d 3a 20 20 74 68 | 65 20 65 79 65 20 6c 6f |rom: th|e eye lo|
|00000f00| 63 61 74 69 6f 6e 20 69 | 6e 20 58 59 5a 2e 0a 20 |cation i|n XYZ.. |
|00000f10| 20 20 20 41 74 3a 20 20 | 20 20 61 20 70 6f 73 69 | At: | a posi|
|00000f20| 74 69 6f 6e 20 74 6f 20 | 62 65 20 61 74 20 74 68 |tion to |be at th|
|00000f30| 65 20 63 65 6e 74 65 72 | 20 6f 66 20 74 68 65 20 |e center| of the |
|00000f40| 69 6d 61 67 65 2c 20 69 | 6e 20 58 59 5a 20 77 6f |image, i|n XYZ wo|
|00000f50| 72 6c 64 0a 09 20 20 20 | 63 6f 6f 72 64 69 6e 61 |rld.. |coordina|
|00000f60| 74 65 73 2e 20 20 41 2e | 6b 2e 61 2e 20 22 6c 6f |tes. A.|k.a. "lo|
|00000f70| 6f 6b 61 74 22 2e 0a 20 | 20 20 20 55 70 3a 20 20 |okat".. | Up: |
|00000f80| 20 20 61 20 76 65 63 74 | 6f 72 20 64 65 66 69 6e | a vect|or defin|
|00000f90| 69 6e 67 20 77 68 69 63 | 68 20 64 69 72 65 63 74 |ing whic|h direct|
|00000fa0| 69 6f 6e 20 69 73 20 75 | 70 2c 20 61 73 20 61 6e |ion is u|p, as an|
|00000fb0| 20 58 59 5a 20 76 65 63 | 74 6f 72 2e 0a 20 20 20 | XYZ vec|tor.. |
|00000fc0| 20 41 6e 67 6c 65 3a 20 | 69 6e 20 64 65 67 72 65 | Angle: |in degre|
|00000fd0| 65 73 2c 20 64 65 66 69 | 6e 65 64 20 61 73 20 66 |es, defi|ned as f|
|00000fe0| 72 6f 6d 20 74 68 65 20 | 63 65 6e 74 65 72 20 6f |rom the |center o|
|00000ff0| 66 20 74 6f 70 20 70 69 | 78 65 6c 20 72 6f 77 20 |f top pi|xel row |
|00001000| 74 6f 0a 09 20 20 20 62 | 6f 74 74 6f 6d 20 70 69 |to.. b|ottom pi|
|00001010| 78 65 6c 20 72 6f 77 20 | 61 6e 64 20 6c 65 66 74 |xel row |and left|
|00001020| 20 63 6f 6c 75 6d 6e 20 | 74 6f 20 72 69 67 68 74 | column |to right|
|00001030| 20 63 6f 6c 75 6d 6e 2e | 0a 20 20 20 20 52 65 73 | column.|. Res|
|00001040| 6f 6c 75 74 69 6f 6e 3a | 20 69 6e 20 70 69 78 65 |olution:| in pixe|
|00001050| 6c 73 2c 20 69 6e 20 78 | 20 61 6e 64 20 69 6e 20 |ls, in x| and in |
|00001060| 79 2e 0a 0a 20 20 4e 6f | 74 65 20 74 68 61 74 20 |y... No|te that |
|00001070| 6e 6f 20 61 73 73 75 6d | 70 74 69 6f 6e 73 20 61 |no assum|ptions a|
|00001080| 72 65 20 6d 61 64 65 20 | 61 62 6f 75 74 20 6e 6f |re made |about no|
|00001090| 72 6d 61 6c 69 7a 69 6e | 67 20 74 68 65 20 64 61 |rmalizin|g the da|
|000010a0| 74 61 20 28 65 2e 67 2e | 20 74 68 65 0a 20 20 66 |ta (e.g.| the. f|
|000010b0| 72 6f 6d 2d 61 74 20 64 | 69 73 74 61 6e 63 65 20 |rom-at d|istance |
|000010c0| 64 6f 65 73 20 6e 6f 74 | 20 68 61 76 65 20 74 6f |does not| have to|
|000010d0| 20 62 65 20 31 29 2e 20 | 20 41 6c 73 6f 2c 20 76 | be 1). | Also, v|
|000010e0| 65 63 74 6f 72 73 20 61 | 72 65 20 6e 6f 74 0a 20 |ectors a|re not. |
|000010f0| 20 72 65 71 75 69 72 65 | 64 20 74 6f 20 62 65 20 | require|d to be |
|00001100| 70 65 72 70 65 6e 64 69 | 63 75 6c 61 72 20 74 6f |perpendi|cular to|
|00001110| 20 65 61 63 68 20 6f 74 | 68 65 72 2e 0a 0a 20 20 | each ot|her... |
|00001120| 46 6f 72 20 61 6c 6c 20 | 64 61 74 61 62 61 73 65 |For all |database|
|00001130| 73 20 73 6f 6d 65 20 76 | 69 65 77 69 6e 67 20 70 |s some v|iewing p|
|00001140| 61 72 61 6d 65 74 65 72 | 73 20 61 72 65 20 61 6c |arameter|s are al|
|00001150| 77 61 79 73 20 74 68 65 | 20 73 61 6d 65 3a 0a 20 |ways the| same:. |
|00001160| 20 20 20 59 6f 6e 20 69 | 73 20 22 61 74 20 69 6e | Yon i|s "at in|
|00001170| 66 69 6e 69 74 79 2e 22 | 0a 20 20 20 20 41 73 70 |finity."|. Asp|
|00001180| 65 63 74 20 72 61 74 69 | 6f 20 69 73 20 31 2e 30 |ect rati|o is 1.0|
|00001190| 2e 0a 0a 20 20 41 20 76 | 69 65 77 20 65 6e 74 69 |... A v|iew enti|
|000011a0| 74 79 20 6d 75 73 74 20 | 62 65 20 64 65 66 69 6e |ty must |be defin|
|000011b0| 65 64 20 62 65 66 6f 72 | 65 20 61 6e 79 20 6f 62 |ed befor|e any ob|
|000011c0| 6a 65 63 74 73 20 61 72 | 65 20 64 65 66 69 6e 65 |jects ar|e define|
|000011d0| 64 20 28 74 68 69 73 0a | 20 20 72 65 71 75 69 72 |d (this.| requir|
|000011e0| 65 6d 65 6e 74 20 69 73 | 20 73 6f 20 74 68 61 74 |ement is| so that|
|000011f0| 20 4e 46 46 20 66 69 6c | 65 73 20 63 61 6e 20 62 | NFF fil|es can b|
|00001200| 65 20 75 73 65 64 20 62 | 79 20 68 69 64 64 65 6e |e used b|y hidden|
|00001210| 20 73 75 72 66 61 63 65 | 20 6d 61 63 68 69 6e 65 | surface| machine|
|00001220| 73 29 2e 0a 0a 2d 2d 2d | 2d 2d 2d 2d 2d 0a 0a 50 |s)...---|-----..P|
|00001230| 6f 73 69 74 69 6f 6e 61 | 6c 20 6c 69 67 68 74 2e |ositiona|l light.|
|00001240| 20 20 41 20 6c 69 67 68 | 74 20 69 73 20 64 65 66 | A ligh|t is def|
|00001250| 69 6e 65 64 20 62 79 20 | 58 59 5a 20 70 6f 73 69 |ined by |XYZ posi|
|00001260| 74 69 6f 6e 2e 20 20 44 | 65 73 63 72 69 70 74 69 |tion. D|escripti|
|00001270| 6f 6e 3a 0a 20 20 20 20 | 22 62 22 20 58 20 59 20 |on:. |"b" X Y |
|00001280| 5a 0a 0a 46 6f 72 6d 61 | 74 3a 0a 20 20 20 20 6c |Z..Forma|t:. l|
|00001290| 20 25 67 20 25 67 20 25 | 67 0a 0a 20 20 20 20 41 | %g %g %|g.. A|
|000012a0| 6c 6c 20 6c 69 67 68 74 | 20 65 6e 74 69 74 69 65 |ll light| entitie|
|000012b0| 73 20 6d 75 73 74 20 62 | 65 20 64 65 66 69 6e 65 |s must b|e define|
|000012c0| 64 20 62 65 66 6f 72 65 | 20 61 6e 79 20 6f 62 6a |d before| any obj|
|000012d0| 65 63 74 73 20 61 72 65 | 20 64 65 66 69 6e 65 64 |ects are| defined|
|000012e0| 20 28 74 68 69 73 0a 20 | 20 20 20 72 65 71 75 69 | (this. | requi|
|000012f0| 72 65 6d 65 6e 74 20 69 | 73 20 73 6f 20 74 68 61 |rement i|s so tha|
|00001300| 74 20 4e 46 46 20 66 69 | 6c 65 73 20 63 61 6e 20 |t NFF fi|les can |
|00001310| 62 65 20 75 73 65 64 20 | 62 79 20 68 69 64 64 65 |be used |by hidde|
|00001320| 6e 20 73 75 72 66 61 63 | 65 20 6d 61 63 68 69 6e |n surfac|e machin|
|00001330| 65 73 29 2e 0a 20 20 20 | 20 4c 69 67 68 74 73 20 |es).. | Lights |
|00001340| 68 61 76 65 20 61 20 6e | 6f 6e 2d 7a 65 72 6f 20 |have a n|on-zero |
|00001350| 69 6e 74 65 6e 73 69 74 | 79 20 6f 66 20 6e 6f 20 |intensit|y of no |
|00001360| 70 61 72 74 69 63 75 6c | 61 72 20 76 61 6c 75 65 |particul|ar value|
|00001370| 20 5b 74 68 69 73 20 64 | 65 66 69 6e 69 74 69 6f | [this d|efinitio|
|00001380| 6e 0a 20 20 20 20 6d 61 | 79 20 63 68 61 6e 67 65 |n. ma|y change|
|00001390| 20 73 6f 6f 6e 2c 20 77 | 69 74 68 20 74 68 65 20 | soon, w|ith the |
|000013a0| 61 64 64 69 74 69 6f 6e | 20 6f 66 20 61 6e 20 69 |addition| of an i|
|000013b0| 6e 74 65 6e 73 69 74 79 | 20 61 6e 64 2f 6f 72 20 |ntensity| and/or |
|000013c0| 63 6f 6c 6f 72 5d 2e 0a | 0a 2d 2d 2d 2d 2d 2d 2d |color]..|.-------|
|000013d0| 2d 0a 0a 42 61 63 6b 67 | 72 6f 75 6e 64 20 63 6f |-..Backg|round co|
|000013e0| 6c 6f 72 2e 20 20 41 20 | 63 6f 6c 6f 72 20 69 73 |lor. A |color is|
|000013f0| 20 73 69 6d 70 6c 79 20 | 52 47 42 20 77 69 74 68 | simply |RGB with|
|00001400| 20 76 61 6c 75 65 73 20 | 62 65 74 77 65 65 6e 20 | values |between |
|00001410| 30 20 61 6e 64 20 31 3a | 0a 20 20 20 20 22 62 22 |0 and 1:|. "b"|
|00001420| 20 52 20 47 20 42 0a 0a | 46 6f 72 6d 61 74 3a 0a | R G B..|Format:.|
|00001430| 20 20 20 20 62 20 25 67 | 20 25 67 20 25 67 0a 0a | b %g| %g %g..|
|00001440| 20 20 20 20 49 66 20 6e | 6f 20 62 61 63 6b 67 72 | If n|o backgr|
|00001450| 6f 75 6e 64 20 63 6f 6c | 6f 72 20 69 73 20 73 65 |ound col|or is se|
|00001460| 74 2c 20 61 73 73 75 6d | 65 20 52 47 42 20 3d 20 |t, assum|e RGB = |
|00001470| 7b 30 2c 30 2c 30 7d 2e | 0a 0a 2d 2d 2d 2d 2d 2d |{0,0,0}.|..------|
|00001480| 2d 2d 0a 0a 46 69 6c 6c | 20 63 6f 6c 6f 72 20 61 |--..Fill| color a|
|00001490| 6e 64 20 73 68 61 64 69 | 6e 67 20 70 61 72 61 6d |nd shadi|ng param|
|000014a0| 65 74 65 72 73 2e 20 20 | 44 65 73 63 72 69 70 74 |eters. |Descript|
|000014b0| 69 6f 6e 3a 0a 20 20 20 | 20 20 22 66 22 20 72 65 |ion:. | "f" re|
|000014c0| 64 20 67 72 65 65 6e 20 | 62 6c 75 65 20 4b 64 20 |d green |blue Kd |
|000014d0| 4b 73 20 53 68 69 6e 65 | 20 54 20 69 6e 64 65 78 |Ks Shine| T index|
|000014e0| 5f 6f 66 5f 72 65 66 72 | 61 63 74 69 6f 6e 0a 0a |_of_refr|action..|
|000014f0| 46 6f 72 6d 61 74 3a 0a | 20 20 20 20 66 20 25 67 |Format:.| f %g|
|00001500| 20 25 67 20 25 67 20 25 | 67 20 25 67 20 25 67 20 | %g %g %|g %g %g |
|00001510| 25 67 20 25 67 0a 0a 20 | 20 20 20 52 47 42 20 69 |%g %g.. | RGB i|
|00001520| 73 20 69 6e 20 74 65 72 | 6d 73 20 6f 66 20 30 2e |s in ter|ms of 0.|
|00001530| 30 20 74 6f 20 31 2e 30 | 2e 0a 0a 20 20 20 20 4b |0 to 1.0|... K|
|00001540| 64 20 69 73 20 74 68 65 | 20 64 69 66 66 75 73 65 |d is the| diffuse|
|00001550| 20 63 6f 6d 70 6f 6e 65 | 6e 74 2c 20 4b 73 20 74 | compone|nt, Ks t|
|00001560| 68 65 20 73 70 65 63 75 | 6c 61 72 2c 20 53 68 69 |he specu|lar, Shi|
|00001570| 6e 65 20 69 73 20 74 68 | 65 20 50 68 6f 6e 67 20 |ne is th|e Phong |
|00001580| 63 6f 73 69 6e 65 0a 20 | 20 20 20 70 6f 77 65 72 |cosine. | power|
|00001590| 20 66 6f 72 20 68 69 67 | 68 6c 69 67 68 74 73 2c | for hig|hlights,|
|000015a0| 20 54 20 69 73 20 74 72 | 61 6e 73 6d 69 74 74 61 | T is tr|ansmitta|
|000015b0| 6e 63 65 20 28 66 72 61 | 63 74 69 6f 6e 20 6f 66 |nce (fra|ction of|
|000015c0| 20 6c 69 67 68 74 20 70 | 61 73 73 65 64 20 70 65 | light p|assed pe|
|000015d0| 72 0a 20 20 20 20 75 6e | 69 74 29 2e 20 20 55 73 |r. un|it). Us|
|000015e0| 75 61 6c 6c 79 2c 20 30 | 20 3c 3d 20 4b 64 20 3c |ually, 0| <= Kd <|
|000015f0| 3d 20 31 20 61 6e 64 20 | 30 20 3c 3d 20 4b 73 20 |= 1 and |0 <= Ks |
|00001600| 3c 3d 20 31 2c 20 74 68 | 6f 75 67 68 20 69 74 20 |<= 1, th|ough it |
|00001610| 69 73 20 6e 6f 74 20 72 | 65 71 75 69 72 65 64 0a |is not r|equired.|
|00001620| 20 20 20 20 74 68 61 74 | 20 4b 64 20 2b 20 4b 73 | that| Kd + Ks|
|00001630| 20 3d 3d 20 31 2e 20 20 | 4e 6f 74 65 20 74 68 61 | == 1. |Note tha|
|00001640| 74 20 74 72 61 6e 73 6d | 69 74 74 69 6e 67 20 6f |t transm|itting o|
|00001650| 62 6a 65 63 74 73 20 28 | 20 54 20 3e 20 30 20 29 |bjects (| T > 0 )|
|00001660| 20 61 72 65 20 63 6f 6e | 73 69 64 65 72 65 64 0a | are con|sidered.|
|00001670| 20 20 20 20 74 6f 20 68 | 61 76 65 20 74 77 6f 20 | to h|ave two |
|00001680| 73 69 64 65 73 20 66 6f | 72 20 61 6c 67 6f 72 69 |sides fo|r algori|
|00001690| 74 68 6d 73 20 74 68 61 | 74 20 6e 65 65 64 20 74 |thms tha|t need t|
|000016a0| 68 65 73 65 20 28 6e 6f | 72 6d 61 6c 6c 79 20 6f |hese (no|rmally o|
|000016b0| 62 6a 65 63 74 73 20 68 | 61 76 65 0a 20 20 20 20 |bjects h|ave. |
|000016c0| 6f 6e 65 20 73 69 64 65 | 29 2e 0a 20 20 0a 20 20 |one side|).. . |
|000016d0| 20 20 54 68 65 20 66 69 | 6c 6c 20 63 6f 6c 6f 72 | The fi|ll color|
|000016e0| 20 69 73 20 75 73 65 64 | 20 74 6f 20 63 6f 6c 6f | is used| to colo|
|000016f0| 72 20 74 68 65 20 6f 62 | 6a 65 63 74 73 20 66 6f |r the ob|jects fo|
|00001700| 6c 6c 6f 77 69 6e 67 20 | 69 74 20 75 6e 74 69 6c |llowing |it until|
|00001710| 20 61 20 6e 65 77 20 63 | 6f 6c 6f 72 0a 20 20 20 | a new c|olor. |
|00001720| 20 69 73 20 61 73 73 69 | 67 6e 65 64 2e 0a 0a 2d | is assi|gned...-|
|00001730| 2d 2d 2d 2d 2d 2d 2d 0a | 0a 4f 62 6a 65 63 74 73 |-------.|.Objects|
|00001740| 3a 20 20 61 6c 6c 20 6f | 62 6a 65 63 74 73 20 61 |: all o|bjects a|
|00001750| 72 65 20 63 6f 6e 73 69 | 64 65 72 65 64 20 6f 6e |re consi|dered on|
|00001760| 65 2d 73 69 64 65 64 2c | 20 75 6e 6c 65 73 73 20 |e-sided,| unless |
|00001770| 74 68 65 20 73 65 63 6f | 6e 64 20 73 69 64 65 20 |the seco|nd side |
|00001780| 69 73 0a 6e 65 65 64 65 | 64 20 66 6f 72 20 74 72 |is.neede|d for tr|
|00001790| 61 6e 73 6d 69 74 74 61 | 6e 63 65 20 63 61 6c 63 |ansmitta|nce calc|
|000017a0| 75 6c 61 74 69 6f 6e 73 | 20 28 65 2e 67 2e 20 79 |ulations| (e.g. y|
|000017b0| 6f 75 20 63 61 6e 6e 6f | 74 20 74 68 72 6f 77 20 |ou canno|t throw |
|000017c0| 6f 75 74 20 74 68 65 20 | 73 65 63 6f 6e 64 0a 69 |out the |second.i|
|000017d0| 6e 74 65 72 73 65 63 74 | 69 6f 6e 20 6f 66 20 61 |ntersect|ion of a|
|000017e0| 20 74 72 61 6e 73 70 61 | 72 65 6e 74 20 73 70 68 | transpa|rent sph|
|000017f0| 65 72 65 20 69 6e 20 72 | 61 79 20 74 72 61 63 69 |ere in r|ay traci|
|00001800| 6e 67 29 2e 0a 0a 43 79 | 6c 69 6e 64 65 72 20 6f |ng)...Cy|linder o|
|00001810| 72 20 63 6f 6e 65 2e 20 | 20 41 20 63 79 6c 69 6e |r cone. | A cylin|
|00001820| 64 65 72 20 69 73 20 64 | 65 66 69 6e 65 64 20 61 |der is d|efined a|
|00001830| 73 20 68 61 76 69 6e 67 | 20 61 20 72 61 64 69 75 |s having| a radiu|
|00001840| 73 20 61 6e 64 20 61 6e | 20 61 78 69 73 0a 20 20 |s and an| axis. |
|00001850| 20 20 64 65 66 69 6e 65 | 64 20 62 79 20 74 77 6f | define|d by two|
|00001860| 20 70 6f 69 6e 74 73 2c | 20 77 68 69 63 68 20 61 | points,| which a|
|00001870| 6c 73 6f 20 64 65 66 69 | 6e 65 20 74 68 65 20 74 |lso defi|ne the t|
|00001880| 6f 70 20 61 6e 64 20 62 | 6f 74 74 6f 6d 20 65 64 |op and b|ottom ed|
|00001890| 67 65 20 6f 66 20 74 68 | 65 0a 20 20 20 20 63 79 |ge of th|e. cy|
|000018a0| 6c 69 6e 64 65 72 2e 20 | 20 41 20 63 6f 6e 65 20 |linder. | A cone |
|000018b0| 69 73 20 64 65 66 69 6e | 65 64 20 73 69 6d 69 6c |is defin|ed simil|
|000018c0| 61 72 6c 79 2c 20 74 68 | 65 20 64 69 66 66 65 72 |arly, th|e differ|
|000018d0| 65 6e 63 65 20 62 65 69 | 6e 67 20 74 68 61 74 20 |ence bei|ng that |
|000018e0| 74 68 65 20 61 70 65 78 | 0a 20 20 20 20 61 6e 64 |the apex|. and|
|000018f0| 20 62 61 73 65 20 72 61 | 64 69 69 20 61 72 65 20 | base ra|dii are |
|00001900| 64 69 66 66 65 72 65 6e | 74 2e 20 20 54 68 65 20 |differen|t. The |
|00001910| 61 70 65 78 20 72 61 64 | 69 75 73 20 69 73 20 64 |apex rad|ius is d|
|00001920| 65 66 69 6e 65 64 20 61 | 73 20 62 65 69 6e 67 20 |efined a|s being |
|00001930| 73 6d 61 6c 6c 65 72 0a | 20 20 20 20 74 68 61 6e |smaller.| than|
|00001940| 20 74 68 65 20 62 61 73 | 65 20 72 61 64 69 75 73 | the bas|e radius|
|00001950| 2e 20 20 4e 6f 74 65 20 | 74 68 61 74 20 74 68 65 |. Note |that the|
|00001960| 20 73 75 72 66 61 63 65 | 20 65 78 69 73 74 73 20 | surface| exists |
|00001970| 77 69 74 68 6f 75 74 20 | 65 6e 64 63 61 70 73 2e |without |endcaps.|
|00001980| 20 20 54 68 65 0a 20 20 | 20 20 63 6f 6e 65 20 6f | The. | cone o|
|00001990| 72 20 63 79 6c 69 6e 64 | 65 72 20 64 65 73 63 72 |r cylind|er descr|
|000019a0| 69 70 74 69 6f 6e 3a 0a | 0a 20 20 20 20 22 63 22 |iption:.|. "c"|
|000019b0| 0a 20 20 20 20 62 61 73 | 65 2e 78 20 62 61 73 65 |. bas|e.x base|
|000019c0| 2e 79 20 62 61 73 65 2e | 7a 20 62 61 73 65 5f 72 |.y base.|z base_r|
|000019d0| 61 64 69 75 73 0a 20 20 | 20 20 61 70 65 78 2e 78 |adius. | apex.x|
|000019e0| 20 61 70 65 78 2e 79 20 | 61 70 65 78 2e 7a 20 61 | apex.y |apex.z a|
|000019f0| 70 65 78 5f 72 61 64 69 | 75 73 0a 0a 46 6f 72 6d |pex_radi|us..Form|
|00001a00| 61 74 3a 0a 20 20 20 20 | 63 0a 20 20 20 20 25 67 |at:. |c. %g|
|00001a10| 20 25 67 20 25 67 20 25 | 67 0a 20 20 20 20 25 67 | %g %g %|g. %g|
|00001a20| 20 25 67 20 25 67 20 25 | 67 0a 0a 20 20 20 20 41 | %g %g %|g.. A|
|00001a30| 20 6e 65 67 61 74 69 76 | 65 20 76 61 6c 75 65 20 | negativ|e value |
|00001a40| 66 6f 72 20 62 6f 74 68 | 20 72 61 64 69 69 20 6d |for both| radii m|
|00001a50| 65 61 6e 73 20 74 68 61 | 74 20 6f 6e 6c 79 20 74 |eans tha|t only t|
|00001a60| 68 65 20 69 6e 73 69 64 | 65 20 6f 66 20 74 68 65 |he insid|e of the|
|00001a70| 20 6f 62 6a 65 63 74 20 | 69 73 0a 20 20 20 20 76 | object |is. v|
|00001a80| 69 73 69 62 6c 65 20 28 | 6f 62 6a 65 63 74 73 20 |isible (|objects |
|00001a90| 61 72 65 20 6e 6f 72 6d | 61 6c 6c 79 20 63 6f 6e |are norm|ally con|
|00001aa0| 73 69 64 65 72 65 64 20 | 6f 6e 65 20 73 69 64 65 |sidered |one side|
|00001ab0| 64 2c 20 77 69 74 68 20 | 74 68 65 20 6f 75 74 73 |d, with |the outs|
|00001ac0| 69 64 65 0a 20 20 20 20 | 76 69 73 69 62 6c 65 29 |ide. |visible)|
|00001ad0| 2e 20 20 4e 6f 74 65 20 | 74 68 61 74 20 74 68 65 |. Note |that the|
|00001ae0| 20 62 61 73 65 20 61 6e | 64 20 61 70 65 78 20 63 | base an|d apex c|
|00001af0| 61 6e 6e 6f 74 20 62 65 | 20 63 6f 69 6e 63 69 64 |annot be| coincid|
|00001b00| 65 6e 74 20 66 6f 72 20 | 61 20 63 79 6c 69 6e 64 |ent for |a cylind|
|00001b10| 65 72 0a 20 20 20 20 6f | 72 20 63 6f 6e 65 2e 0a |er. o|r cone..|
|00001b20| 0a 2d 2d 2d 2d 2d 2d 2d | 2d 0a 0a 53 70 68 65 72 |.-------|-..Spher|
|00001b30| 65 2e 20 20 41 20 73 70 | 68 65 72 65 20 69 73 20 |e. A sp|here is |
|00001b40| 64 65 66 69 6e 65 64 20 | 62 79 20 61 20 72 61 64 |defined |by a rad|
|00001b50| 69 75 73 20 61 6e 64 20 | 63 65 6e 74 65 72 20 70 |ius and |center p|
|00001b60| 6f 73 69 74 69 6f 6e 3a | 0a 20 20 20 20 22 73 22 |osition:|. "s"|
|00001b70| 20 63 65 6e 74 65 72 2e | 78 20 63 65 6e 74 65 72 | center.|x center|
|00001b80| 2e 79 20 63 65 6e 74 65 | 72 2e 7a 20 72 61 64 69 |.y cente|r.z radi|
|00001b90| 75 73 0a 0a 46 6f 72 6d | 61 74 3a 0a 20 20 20 20 |us..Form|at:. |
|00001ba0| 73 20 25 67 20 25 67 20 | 25 67 20 25 67 0a 0a 20 |s %g %g |%g %g.. |
|00001bb0| 20 20 20 49 66 20 74 68 | 65 20 72 61 64 69 75 73 | If th|e radius|
|00001bc0| 20 69 73 20 6e 65 67 61 | 74 69 76 65 2c 20 74 68 | is nega|tive, th|
|00001bd0| 65 6e 20 6f 6e 6c 79 20 | 74 68 65 20 73 70 68 65 |en only |the sphe|
|00001be0| 72 65 27 73 20 69 6e 73 | 69 64 65 20 69 73 20 76 |re's ins|ide is v|
|00001bf0| 69 73 69 62 6c 65 0a 20 | 20 20 20 28 6f 62 6a 65 |isible. | (obje|
|00001c00| 63 74 73 20 61 72 65 20 | 6e 6f 72 6d 61 6c 6c 79 |cts are |normally|
|00001c10| 20 63 6f 6e 73 69 64 65 | 72 65 64 20 6f 6e 65 20 | conside|red one |
|00001c20| 73 69 64 65 64 2c 20 77 | 69 74 68 20 74 68 65 20 |sided, w|ith the |
|00001c30| 6f 75 74 73 69 64 65 20 | 76 69 73 69 62 6c 65 29 |outside |visible)|
|00001c40| 2e 0a 0a 2d 2d 2d 2d 2d | 2d 2d 2d 0a 0a 50 6f 6c |...-----|---..Pol|
|00001c50| 79 67 6f 6e 2e 20 20 41 | 20 70 6f 6c 79 67 6f 6e |ygon. A| polygon|
|00001c60| 20 69 73 20 64 65 66 69 | 6e 65 64 20 62 79 20 61 | is defi|ned by a|
|00001c70| 20 73 65 74 20 6f 66 20 | 76 65 72 74 69 63 65 73 | set of |vertices|
|00001c80| 2e 20 20 57 69 74 68 20 | 74 68 65 73 65 20 64 61 |. With |these da|
|00001c90| 74 61 62 61 73 65 73 2c | 0a 20 20 20 20 61 20 70 |tabases,|. a p|
|00001ca0| 6f 6c 79 67 6f 6e 20 69 | 73 20 64 65 66 69 6e 65 |olygon i|s define|
|00001cb0| 64 20 74 6f 20 68 61 76 | 65 20 61 6c 6c 20 70 6f |d to hav|e all po|
|00001cc0| 69 6e 74 73 20 63 6f 70 | 6c 61 6e 61 72 2e 20 20 |ints cop|lanar. |
|00001cd0| 41 20 70 6f 6c 79 67 6f | 6e 20 68 61 73 20 6f 6e |A polygo|n has on|
|00001ce0| 6c 79 0a 20 20 20 20 6f | 6e 65 20 73 69 64 65 2c |ly. o|ne side,|
|00001cf0| 20 77 69 74 68 20 74 68 | 65 20 6f 72 64 65 72 20 | with th|e order |
|00001d00| 6f 66 20 74 68 65 20 76 | 65 72 74 69 63 65 73 20 |of the v|ertices |
|00001d10| 62 65 69 6e 67 20 63 6f | 75 6e 74 65 72 63 6c 6f |being co|unterclo|
|00001d20| 63 6b 77 69 73 65 20 61 | 73 20 79 6f 75 0a 20 20 |ckwise a|s you. |
|00001d30| 20 20 66 61 63 65 20 74 | 68 65 20 70 6f 6c 79 67 | face t|he polyg|
|00001d40| 6f 6e 20 28 72 69 67 68 | 74 2d 68 61 6e 64 65 64 |on (righ|t-handed|
|00001d50| 20 63 6f 6f 72 64 69 6e | 61 74 65 20 73 79 73 74 | coordin|ate syst|
|00001d60| 65 6d 29 2e 20 20 54 68 | 65 20 66 69 72 73 74 20 |em). Th|e first |
|00001d70| 74 77 6f 20 65 64 67 65 | 73 0a 20 20 20 20 6d 75 |two edge|s. mu|
|00001d80| 73 74 20 66 6f 72 6d 20 | 61 20 6e 6f 6e 2d 7a 65 |st form |a non-ze|
|00001d90| 72 6f 20 63 6f 6e 76 65 | 78 20 61 6e 67 6c 65 2c |ro conve|x angle,|
|00001da0| 20 73 6f 20 74 68 61 74 | 20 74 68 65 20 6e 6f 72 | so that| the nor|
|00001db0| 6d 61 6c 20 61 6e 64 20 | 73 69 64 65 20 76 69 73 |mal and |side vis|
|00001dc0| 69 62 69 6c 69 74 79 0a | 20 20 20 20 63 61 6e 20 |ibility.| can |
|00001dd0| 62 65 20 64 65 74 65 72 | 6d 69 6e 65 64 2e 20 20 |be deter|mined. |
|00001de0| 44 65 73 63 72 69 70 74 | 69 6f 6e 3a 0a 0a 20 20 |Descript|ion:.. |
|00001df0| 20 20 22 70 22 20 74 6f | 74 61 6c 5f 76 65 72 74 | "p" to|tal_vert|
|00001e00| 69 63 65 73 0a 20 20 20 | 20 76 65 72 74 31 2e 78 |ices. | vert1.x|
|00001e10| 20 76 65 72 74 31 2e 79 | 20 76 65 72 74 31 2e 7a | vert1.y| vert1.z|
|00001e20| 0a 20 20 20 20 5b 65 74 | 63 2e 20 66 6f 72 20 74 |. [et|c. for t|
|00001e30| 6f 74 61 6c 5f 76 65 72 | 74 69 63 65 73 20 76 65 |otal_ver|tices ve|
|00001e40| 72 74 69 63 65 73 5d 0a | 0a 46 6f 72 6d 61 74 3a |rtices].|.Format:|
|00001e50| 0a 20 20 20 20 70 20 25 | 64 0a 20 20 20 20 5b 20 |. p %|d. [ |
|00001e60| 25 67 20 25 67 20 25 67 | 20 5d 20 3c 2d 2d 20 66 |%g %g %g| ] <-- f|
|00001e70| 6f 72 20 74 6f 74 61 6c | 5f 76 65 72 74 69 63 65 |or total|_vertice|
|00001e80| 73 20 76 65 72 74 69 63 | 65 73 0a 0a 2d 2d 2d 2d |s vertic|es..----|
|00001e90| 2d 2d 2d 2d 0a 0a 50 6f | 6c 79 67 6f 6e 61 6c 20 |----..Po|lygonal |
|00001ea0| 70 61 74 63 68 2e 20 20 | 41 20 70 61 74 63 68 20 |patch. |A patch |
|00001eb0| 69 73 20 64 65 66 69 6e | 65 64 20 62 79 20 61 20 |is defin|ed by a |
|00001ec0| 73 65 74 20 6f 66 20 76 | 65 72 74 69 63 65 73 20 |set of v|ertices |
|00001ed0| 61 6e 64 20 74 68 65 69 | 72 20 6e 6f 72 6d 61 6c |and thei|r normal|
|00001ee0| 73 2e 0a 20 20 20 20 57 | 69 74 68 20 74 68 65 73 |s.. W|ith thes|
|00001ef0| 65 20 64 61 74 61 62 61 | 73 65 73 2c 20 61 20 70 |e databa|ses, a p|
|00001f00| 61 74 63 68 20 69 73 20 | 64 65 66 69 6e 65 64 20 |atch is |defined |
|00001f10| 74 6f 20 68 61 76 65 20 | 61 6c 6c 20 70 6f 69 6e |to have |all poin|
|00001f20| 74 73 20 63 6f 70 6c 61 | 6e 61 72 2e 0a 20 20 20 |ts copla|nar.. |
|00001f30| 20 41 20 70 61 74 63 68 | 20 68 61 73 20 6f 6e 6c | A patch| has onl|
|00001f40| 79 20 6f 6e 65 20 73 69 | 64 65 2c 20 77 69 74 68 |y one si|de, with|
|00001f50| 20 74 68 65 20 6f 72 64 | 65 72 20 6f 66 20 74 68 | the ord|er of th|
|00001f60| 65 20 76 65 72 74 69 63 | 65 73 20 62 65 69 6e 67 |e vertic|es being|
|00001f70| 0a 20 20 20 20 63 6f 75 | 6e 74 65 72 63 6c 6f 63 |. cou|ntercloc|
|00001f80| 6b 77 69 73 65 20 61 73 | 20 79 6f 75 20 66 61 63 |kwise as| you fac|
|00001f90| 65 20 74 68 65 20 70 61 | 74 63 68 20 28 72 69 67 |e the pa|tch (rig|
|00001fa0| 68 74 2d 68 61 6e 64 65 | 64 20 63 6f 6f 72 64 69 |ht-hande|d coordi|
|00001fb0| 6e 61 74 65 20 73 79 73 | 74 65 6d 29 2e 0a 20 20 |nate sys|tem).. |
|00001fc0| 20 20 54 68 65 20 66 69 | 72 73 74 20 74 77 6f 20 | The fi|rst two |
|00001fd0| 65 64 67 65 73 20 6d 75 | 73 74 20 66 6f 72 6d 20 |edges mu|st form |
|00001fe0| 61 20 6e 6f 6e 2d 7a 65 | 72 6f 20 63 6f 6e 76 65 |a non-ze|ro conve|
|00001ff0| 78 20 61 6e 67 6c 65 2c | 20 73 6f 20 74 68 61 74 |x angle,| so that|
|00002000| 20 74 68 65 20 6e 6f 72 | 6d 61 6c 0a 20 20 20 20 | the nor|mal. |
|00002010| 61 6e 64 20 73 69 64 65 | 20 76 69 73 69 62 69 6c |and side| visibil|
|00002020| 69 74 79 20 63 61 6e 20 | 62 65 20 64 65 74 65 72 |ity can |be deter|
|00002030| 6d 69 6e 65 64 2e 20 20 | 44 65 73 63 72 69 70 74 |mined. |Descript|
|00002040| 69 6f 6e 3a 0a 0a 20 20 | 20 20 22 70 70 22 20 74 |ion:.. | "pp" t|
|00002050| 6f 74 61 6c 5f 76 65 72 | 74 69 63 65 73 0a 20 20 |otal_ver|tices. |
|00002060| 20 20 76 65 72 74 31 2e | 78 20 76 65 72 74 31 2e | vert1.|x vert1.|
|00002070| 79 20 76 65 72 74 31 2e | 7a 20 6e 6f 72 6d 31 2e |y vert1.|z norm1.|
|00002080| 78 20 6e 6f 72 6d 31 2e | 79 20 6e 6f 72 6d 31 2e |x norm1.|y norm1.|
|00002090| 7a 0a 20 20 20 20 5b 65 | 74 63 2e 20 66 6f 72 20 |z. [e|tc. for |
|000020a0| 74 6f 74 61 6c 5f 76 65 | 72 74 69 63 65 73 20 76 |total_ve|rtices v|
|000020b0| 65 72 74 69 63 65 73 5d | 0a 0a 46 6f 72 6d 61 74 |ertices]|..Format|
|000020c0| 3a 0a 20 20 20 20 70 70 | 20 25 64 0a 20 20 20 20 |:. pp| %d. |
|000020d0| 5b 20 25 67 20 25 67 20 | 25 67 20 25 67 20 25 67 |[ %g %g |%g %g %g|
|000020e0| 20 25 67 20 5d 20 3c 2d | 2d 20 66 6f 72 20 74 6f | %g ] <-|- for to|
|000020f0| 74 61 6c 5f 76 65 72 74 | 69 63 65 73 20 76 65 72 |tal_vert|ices ver|
|00002100| 74 69 63 65 73 0a 0a 2d | 2d 2d 2d 2d 2d 2d 2d 0a |tices..-|-------.|
|00002110| 0a 43 6f 6d 6d 65 6e 74 | 2e 20 20 44 65 73 63 72 |.Comment|. Descr|
|00002120| 69 70 74 69 6f 6e 3a 0a | 20 20 20 20 22 23 22 20 |iption:.| "#" |
|00002130| 5b 20 73 74 72 69 6e 67 | 20 5d 0a 0a 46 6f 72 6d |[ string| ]..Form|
|00002140| 61 74 3a 0a 20 20 20 20 | 23 20 5b 20 73 74 72 69 |at:. |# [ stri|
|00002150| 6e 67 20 5d 0a 0a 20 20 | 20 20 41 73 20 73 6f 6f |ng ].. | As soo|
|00002160| 6e 20 61 73 20 61 20 22 | 23 22 20 63 68 61 72 61 |n as a "|#" chara|
|00002170| 63 74 65 72 20 69 73 20 | 64 65 74 65 63 74 65 64 |cter is |detected|
|00002180| 2c 20 74 68 65 20 72 65 | 73 74 20 6f 66 20 74 68 |, the re|st of th|
|00002190| 65 20 6c 69 6e 65 20 69 | 73 20 63 6f 6e 73 69 64 |e line i|s consid|
|000021a0| 65 72 65 64 0a 20 20 20 | 20 61 20 63 6f 6d 6d 65 |ered. | a comme|
|000021b0| 6e 74 2e 0a 0a 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |nt...---|--------|
|000021c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002200| 2d 2d 2d 2d 0a 0a 0a | |----... | |
+--------+-------------------------+-------------------------+--------+--------+